package cn.bugstack.infrastructure.gateway;

import cn.bugstack.infrastructure.gateway.dto.LockMarketPayOrderRequestDTO;
import cn.bugstack.infrastructure.gateway.dto.LockMarketPayOrderResponseDTO;
import cn.bugstack.infrastructure.gateway.dto.SettlementMarketPayOrderRequestDTO;
import cn.bugstack.infrastructure.gateway.dto.SettlementMarketPayOrderResponseDTO;
import cn.bugstack.infrastructure.gateway.response.Response;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @Author: 代码的路
 * @Date: 2025/3/6 14:21
 * @Param:
 * @Return:
 * @Description:
 **/
public interface IGroupBuyMarketService {


    @POST("/api/v1/gbm/trade/lock_market_pay_order")
    Call<Response<LockMarketPayOrderResponseDTO>> lockMarketPayOrder(@Body LockMarketPayOrderRequestDTO requestDTO);


    @POST("/api/v1/gbm/trade/settlement_market_pay_order")
    Call<Response<SettlementMarketPayOrderResponseDTO>> settlementMarketPayOrder (@Body SettlementMarketPayOrderRequestDTO  requestDTO);


}
